﻿using FSUIPC;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CommonTools
{
    [Serializable]
    public class FuelTank
    {
        //
        // 摘要:
        //     True if this tank is present on the current aircraft.
        public bool IsPresent { get; }
        //
        // 摘要:
        //     The identity of this tank
        public FSFuelTanks Tank { get; set; }
        //
        // 摘要:
        //     The maximum capacity of this tank in US Gallons
        public double CapacityUSGallons { get; set; }
        //
        // 摘要:
        //     The maximum capacity of this tank in Litres
        public double CapacityLitres { get; }
        //
        // 摘要:
        //     The maximum capacity of this tank in Lbs
        public double CapacityLbs { get; }
        //
        // 摘要:
        //     he maximum capacity of this tank in Kilograms
        public double CapacityKgs { get; }
        //
        // 摘要:
        //     The current weight of the fuel in this tank in Slugs
        public double CapacitySlugs { get; }
        //
        // 摘要:
        //     The current weight of the fuel in this tank in Newtons
        public double CapacityNewtons { get; }
        //
        // 摘要:
        //     The current level of this tank as a percentage
        public double LevelPercentage { get; set; }
        //
        // 摘要:
        //     The current level of this tank in US Gallons
        public double LevelUSGallons { get; set; }
        //
        // 摘要:
        //     The current level of this tank in Litres
        public double LevelLitres { get; set; }
        //
        // 摘要:
        //     The current weight of the fuel in this tank in Pounds
        public double WeightLbs { get; set; }
        //
        // 摘要:
        //     The current weight of the fuel in this tank in Kilograms
        public double WeightKgs { get; set; }
        //
        // 摘要:
        //     The current weight of the fuel in this tank in Slugs
        public double WeightSlugs { get; set; }
        //
        // 摘要:
        //     The current weight of the fuel in this tank in Newtons
        public double WeightNewtons { get; set; }
    }
}
